﻿using System.IO;
using System.Threading.Tasks;

namespace Sidvall.Net
{
	public interface IHttpContent
	{
		HttpContentHeaders Headers { get; }

		Task CopyToAsync(Stream stream);
		Task<byte[]> ReadAsByteArrayAsync();
		Task<Stream> ReadAsStreamAsync();
		Task<string> ReadAsStringAsync();
	}
}
